package main

import (
	"github.com/gin-gonic/gin"
	"zg3/day13/api"
	"zg3/day13/config"
	"zg3/day13/inits"
)

func main() {
	r := gin.Default()

	config.GetViper()

	inits.InitMysql()
	
	inits.InitRedis()

	api.LoadRouter(r)

	r.Run()
}
